<template>
	<view>
		<web-view :src="item.url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				item: {}
			};
		},
		onLoad(event) {
			try {
				this.item = JSON.parse(decodeURIComponent(event.detailDate));
			} catch (error) {
				this.item = JSON.parse(event.detailDate);
			}
			uni.setNavigationBarTitle({
				title: this.item.name
			});
		}
	}
</script>

<style>

</style>
